﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Hukee.ExcelHelper
{
    /// <summary>
    /// 标记是Excel导入类
    /// </summary>
    public interface IExcelImportDto
    {
    }

    /// <summary>
    /// 导入标记
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class ExcelImportColumn : Attribute
    {
        /// <summary>
        /// 所属列名(对应Excel文件首行标记)
        /// </summary>
        public string ColumnName { get; set; }

        public ExcelImportColumn(string name)
        {
            ColumnName = name;
        }
    }

}
